package sv.gob.mh.dgii.service.rc;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import sv.gob.mh.dgii.dao.hibernate.Dao;
import sv.gob.mh.dgii.dao.rc.RcActEcoDao;
import sv.gob.mh.dgii.service.BaseService;

@Service
public class RcActEcoServiceImpl extends BaseService implements RcActEcoService {

    @Autowired
    private RcActEcoDao rcActEcoDao;

    @Override
    public Dao getDao() {
        return rcActEcoDao; 
	} 
    
    @Override
    public Long obtenerSiguienteLlave(){
        return rcActEcoDao.obtenerSiguienteLlave();
    }
}